/**
 * 
 */
package huajiu.com.base;

import com.sun.org.apache.bcel.internal.generic.RETURN;

/**
 * @author ItBotPjq 2018年2月9日
 */
public class DigitalConvertString {
    /**
     * 将体质数字标签转换为字符
     * @param digital
     * @return
     */
	public static String TZdigitalConvertString(int digital) {
		switch (digital) {
		case 0:
			return CommonConstant.Physical.QI_XU_ZHI;
		case 1:
			return CommonConstant.Physical.YIN_XU_ZHI;
		case 2:
			return CommonConstant.Physical.YANG_XU_ZHI;
		case 3:
			return CommonConstant.Physical.TAN_SHI_ZHI;
		case 4:
			return CommonConstant.Physical.SHI_RE_ZHI;
		case 5:
			return CommonConstant.Physical.QI_YU_ZHI;
		case 6:
			return CommonConstant.Physical.XUE_YU_ZHI;
		case 7:
			return CommonConstant.Physical.TE_BIN_ZHI;
		case 8:
			return CommonConstant.Physical.PING_HE_ZHI;
		default:
			break;
		}
		return null;
	}
	/**
	 * 将情绪数字转化为字符
	 * @param digital
	 * @return
	 */

	public static String QXdigitalConvertString(int digital) {
		switch (digital) {
		case 0:
			return CommonConstant.Emotion.PING_JING;
		case 1:
			return CommonConstant.Emotion.GAO_XIN;
		case 2:
			return CommonConstant.Emotion.SHANG_XIN;
		case 3:
			return CommonConstant.Emotion.JING_YA;
		case 4:
			return CommonConstant.Emotion.SHENG_QI;
		case 5:
			return CommonConstant.Emotion.YAN_WU;
		case 6:
			return CommonConstant.Emotion.HAI_PA;
		default:
			break;
		}
		return null;
	}

}
